﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassTrain1Feb
{
    class Program
    {
        static void Main(string[] args)
        {
            First firstE = new First();
            Second secondE = new Second();
            Third thirdE = new Third();

            List<IExecutable> newList = new List<IExecutable>();
            newList.Add(firstE);
            newList.Add(secondE);
            newList.Add(thirdE);

            TaskManager newTask = new TaskManager(newList);
            newTask.Run();
             
        }
    }
}
